package com.hfut.dao;

import java.util.List;

import com.hfut.model.Book;
import com.hfut.model.RequestBook;

public interface GlobalDao {
	public List<Book> queryByPage(String hql, int offset, int pageSize);
	public int getAllRowCount(String hql);
	public List<RequestBook> queryRequest(String hql);
	public List<Book> queryBook(String hql);
	public Book querryBookById(int id);
}
